from rest_framework import serializers
from .models import VideoHistory

class VideoHistorySerializer(serializers.ModelSerializer):
    class Meta:
        model = VideoHistory
        fields = ['id', 'task_id', 'prompt', 'mode', 'image_url', 'video_url', 'status', 'quality', 'fps', 'created_at']
